package com.anolesoft.twelvePlan.entity;

import com.anolesoft.twelvePlan.listener.LocalDateTimeDeSerializer;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author zyq
 * @date 2022/5/27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("mes_gy_info_more")
public class MesGyInfoMoreDO implements Serializable {
    private static final long serialVersionUID = -2630788598933924683L;
    @TableId
    private String objuid;
    private String mesGyInfoObj;
    private String groupingA;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime checktime;
    private String isexecutable;
    private String jzjh;
    private String serialnumber;
    private String matching;
    private String minpjcid;
    private String parentnum;
    private String lengthnum;
    private String jx;
    private String nianyue;
    private String jsworkshop;
    private String factoryId;
    private String partid;
}
